-- GENERATED SPELL FOR [Spindleweb Lurker] --


function spell0_16351(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(11918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16351', 15000, 1)
end

function Sorts_16351(pUnit, Event)
local choix_sorts_16351 = math.random(0, 0)
if choix_sorts_16351 == 0 then
pUnit:RegisterEvent('spell0_16351', 1, 1)
end
end

function mob16351_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16351', math.random(1500, 3000), 1)
end

function mob16351_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16351_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16351_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16351, 1, 'mob16351_Action')
RegisterUnitEvent(16351, 2, 'mob16351_Leave')
RegisterUnitEvent(16351, 3, 'mob16351_Kill')
RegisterUnitEvent(16351, 4, 'mob16351_Die')
